<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=8">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="keywords" content="广州市公安局荔湾区分局监督室">
  <meta name="description" content="主办单位：广州市公安局荔湾区分局监督室">
  <title><?php echo $lang->intro;?></title>
  <?php
  $themeRoot    = $webRoot . "theme/";

  $defaultTheme = $webRoot . 'theme/default/';
  css::import($defaultTheme . 'zh-cn.default.css');
  css::import($themeRoot . 'default/style.css');

  css::import($webRoot.'module/user/css/reset.css');
  css::import($webRoot.'module/user/css/base.css');
  css::import($webRoot.'module/user/css/index.css');
  echo html::favicon($webRoot . 'favicon.ico');
  if(isset($pageCSS)) css::internal($pageCSS);
  ?>
  <style>
    .detail {
      width: 950px;
    }

    .detail li {
      float: left;
      min-width: 45px;
      display: list-item;
      list-style-type: none;
      list-style-image: url(imgs/dot2.jpg);
      margin: 0px 20px 0px 5px;
    }

    .myselect {
      background-color: #fff;
      border-left: 1px solid #d9d9d9 ! important;
      border-right: 1px solid #d9d9d9 ! important;
      color: #0473d9;
    }
    .table-bordered td, .table-bordered th {
      border: 1px solid #989090 ! important;
    }
    .table>thead>tr>th{
      border: 1px solid #989090 ! important;
    }
  </style>

  <?php
  js::import($webRoot.'module/user/js/jquery.js');
  js::import($webRoot.'module/user/js/zui.min.js');
  js::import($webRoot.'module/user/js/zui.chart.min.js');
  ?>
  <?php
  js::import($webRoot.'module/user/js/index.js');
  ?>
</head>

<body>
<style>
  .mar_r10 {
    margin-right: 1%;
  }
  .common_all .mar_r10:nth-child(2n){margin-right: 0;}
  .common_content2 {
    padding: 10px;
  }
  ul{padding-left: 0 ! important;}
  .tab_ul li a{margin-right: 0;}
  #triggerModal{display: block;}
  a{color: inherit;}
  .an_nav ul li a{color: #fff ! important;}
</style>
<div class="an_container">
  <div class="an_header">

    <div class="an_top">
      <div class="an_top_link w_content f_all">
        <p>广州市公安局荔湾区分局监督室 </p>
        <ul class="list_line">
          <li class="top_icon1">
            <a href="javascript:window.external.AddFavorite('')">加入收藏</a>
          </li>

          <li class="top_icon2">
            <?php echo html::a($this->createLink('user', 'login'),'进入后台')?>
          </li>
          <li class="top_icon3">
            <a>个人中心</a>
          </li>
        </ul>
        <div class="clear"></div>
      </div>
      <div class="an_top_banner w_content" style="background: url(<?php echo $webRoot.$img->imgsrc; ?>) no-repeat top center;background-size: 100% 211px;"></div>
    </div>
    <div class="an_nav" style="background-color:#0575D9">
      <ul class="w_content">

        <li>
          <?php echo html::a($this->createLink('user', 'index'),'首页')?>
        </li>

        <li>
          <a href="<?php echo $this->createLink("user","punit")?>" class="current">警务监督考评</a>
        </li>

        <li>
          <a href="<?php echo $this->createLink("user","munit")?>">问责情况统计</a>
        </li>

        <div class="clear"></div>
      </ul>
    </div>
  </div>
  <!--an_header end -->
  <div class="an_content w_content">
    <div class="an_main w_content">
      <!--   common_all end  -->
    <div class="common_all">

      <div class="panel">
        <div class="panel-heading text-center">
          <strong>
            <?php echo $time.$cname;?>
            监督考评情况统计表
          </strong>
        </div>
        <table class="table table-data table-bordered text-center table-fixedHeader">
          <thead>
          <tr class="text-center">
            <th rowspan="2">人员</th>
            <th colspan="<?php echo (count($category1)+1);?>">扣分项目</th>
          </tr>
          <tr class="text-center">
            <th>小计</th>
            <?php foreach($category1 as $val) :?>
              <th><?php echo $val->mistake;?></th>
            <?php endforeach ?>
          </tr>
          </thead>
          <tbody>
          <?php foreach($users as $uval):?>
            <tr>
              <td><?php echo $uval->name;?></td>
              <td>
                <?php if($uval->scale):?>
                  <?php echo html::a($this->createLink('statistics', 'qxingqing', "idcard={$uval->id_card}"),$uval->scale,"","data-toggle='modal' class='model'") ;?>
                <?php endif?>
              </td>
              <?php for($i=1;$i<=$uval->count;$i++):?>
                <td>
                  <?php if($uval->$i):?>
                    <?php $bid = 'bid'.$i;?>
                    <?php echo html::a($this->createLink('statistics', 'ptype', "idcard={$uval->id_card}&bid={$uval->$bid}"),$uval->$i,"","data-toggle='modal' class='model'") ;?>
                  <?php endif?>
                </td>
              <?php endfor?>
            </tr>
          <?php endforeach?>

          </tbody></table>
      </div>

    </div>

    </div>
    </div>
    <!--   common_all end  -->
<!-- an_content end -->
<div class="an_footer f_all" id="link">

  <div class="foot_link">
    <ul class="w_content">
      <li>友情链接：</li>
      <?php foreach($links as $k=>$link) :?>
      <li>
        <a href="<?php echo $link->linkurl;?>" target="_blank"><?php echo $link->linkname;?></a>
       <?php if($k!=count($links)-1) :?> |<?php endif ?>
      </li>
        <?php endforeach ?>
    </ul>
  </div>
  <div class="foot_word w_content">
    <p>责任单位：荔湾区公安分局监督室&nbsp;&nbsp;&nbsp;&nbsp;技术支持：荔湾公安分局指挥中心科技科&nbsp;&nbsp;&nbsp;&nbsp;</p>
    <p>版权所有 Copyright @ 2017 广州市公安局荔湾区分局 All Rights Reserved&nbsp;&nbsp;&nbsp;&nbsp;</p>
  </div>
</div>
<!-- an_footer end -->
</div>
<!--   an_container end   -->

</body>

</html>